//
//  TextSubTextLabel.swift
//  SCA
//
//  Created by tjun on 2025/9/5.
//

import UIKit

class TextSubTextView: UIView {

    let textLabel = UILabel(font: UIFontMediumMake(13), textColor: UIColorMake(0x919191), textAlignment: .center)
    let subTextLabel = UILabel(font: UIFontSemiboldMake(24), textColor: UIColor.white, textAlignment: .center)

    override init(frame: CGRect) {
        super.init(frame: frame)
        
        addSubview(textLabel)
        addSubview(subTextLabel)
        
        textLabel.snp.makeConstraints { make in
            make.width.equalToSuperview()
            make.top.equalToSuperview()
        }
        
        subTextLabel.snp.makeConstraints { make in
            make.top.equalTo(textLabel.snp.bottom).offset(5)
            make.width.equalToSuperview()
            make.bottom.equalToSuperview()
        }
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    

}
